import http from '@/api'

// * 用户登录
export const loginApi = (data) => http.post('/user/login', data)

// * 用户信息加载
export const userinfoApi = () => http.get('/user/info')

// * 用户退出登录
export const logoutApi = () => http.post('/user/logout')